package org.lwxyz.tools.mail.entity;

import java.util.List;
import java.util.Map;

/**
 * @description 邮件实体类
 * @author yuwei
 * @version 1.0-SNAPSHOT
 * @date 2018/1/23
 */
public class Mail {
    /**
     * 邮件唯一标识
     */
    private String id;

    /**
     * 标题，主题
     */
    private String subject;

    /**
     * 正文，可以是html
     */
    private String context;

    /**
     * 图片集合（map的key为图片名：即img标签中src的名，value为图片在服务器中保存的路径）
     */
    private List<Map<String, String>> images;

    /**
     * 附件集合(map的key为附件名，value为附件在服务器中保存的路径)
     */
    private List<Map<String, String>> files;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public List<Map<String, String>> getImages() {
        return images;
    }

    public void setImages(List<Map<String, String>> images) {
        this.images = images;
    }

    public List<Map<String, String>> getFiles() {
        return files;
    }

    public void setFiles(List<Map<String, String>> files) {
        this.files = files;
    }
}
